QT       += core gui gamepad network printsupport serialport gamepad

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    data_upup.cpp \
    main.cpp \
    page1_video.cpp \
    page2_chuan.cpp \
    page3_tcp.cpp \
    page4_pid.cpp \
    pid.cpp \
    qcustomplot.cpp \
    shoubing.cpp \
    widget.cpp

HEADERS += \
    data_upup.h \
    page1_video.h \
    page2_chuan.h \
    page3_tcp.h \
    page4_pid.h \
    pid.h \
    qcustomplot.h \
    shoubing.h \
    widget.h

FORMS += \
    page1_video.ui \
    page2_chuan.ui \
    page3_tcp.ui \
    page4_pid.ui \
    widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../usr/local/lib/release/ -lopencv_world
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../usr/local/lib/debug/ -lopencv_world
else:unix: LIBS += -L$$PWD/../../../../usr/local/lib/ -lopencv_world

INCLUDEPATH += $$PWD/../../../../usr/local/include
INCLUDEPATH += $$PWD/../../../../usr/local/include/opencv4
DEPENDPATH += $$PWD/../../../../usr/local/include

RESOURCES += \
    picture.qrc
